package cn.dakaqi.sys.topic.services;

import cn.dakaqi.entities.IndexData;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * Created by chunyang on 2016/4/21.
 */
public interface IndexDataService
{
    void save(IndexData data)throws ServiceRuntimeException;
    void update(IndexData sysTopice)throws ServiceRuntimeException;
    IndexData findOne(Long id)throws ServiceRuntimeException;
    Page<IndexData> findAll(String city,String job,String serviceField,String skill,int pageNumber)throws ServiceRuntimeException;
    Page<IndexData> findDefault(int pageNumber)throws ServiceRuntimeException;
    List<IndexData> findNoEnd()throws ServiceRuntimeException;
    void updateStatus();
}
